package object.alarm;

import utility.alarm.StringUlti;

public class Audio {
	private int id;
	private String data;
	private String name;
	private String size;
	private String duration;
	private boolean selected;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = "Size: " + StringUlti.getInstance().sizeMB(size)+" MB";
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = "Duration: "+StringUlti.getInstance().duration(duration);
	}
	public boolean isSelected() {
		return selected;
	}
	public void setSelected(boolean selected) {
		this.selected = selected;
	}
}
